using System;
using Server;

namespace Server.Items
{
	public class CBookAnatomy101 : BaseBook
	{
		public static readonly BookContent Content = new BookContent
		(
			"Anatomy 101", "Safera",

			new BookPageInfo
			(
				"WHY IS ANATOMY USEFUL?",
				"  On each successful",
				"hit with a weapon",
				"during combat,",
				"a passive check is made",
				"to your anatomy skill.",
				"If successful,",
				"you add up to 65% to"
			),
			new BookPageInfo
			(
				"the damage depending on",
				"your skill",
				"level.",
				"  Anatomy plays a large",
				"role in determining the",
				"amount",
				"of damage healed when",
				"using the Healing"
			),
			new BookPageInfo
			(
				"skill.",
				"  At a skill level of",
				"65 you will be able to",
				"see other",
				"peoples stamina level",
				"as a percentage.",
				"  Having a high Anatomy",
				"and Evaluate"
			),
			new BookPageInfo
			(
				"Intelligence skill",
				"helps dodging blows in",
				"empty-handed combat.",
				"",
				"WHO TRAINS ANATOMY?",
				"Artist, Bloodletter,",
				"Healer (Shopkeeper),",
				"Healer (Wandering),"
			),
			new BookPageInfo
			(
				"Healer Guildmaster,",
				"Sculptor, Priest of",
				"Mondain, Fortune Teller",
				"",
				"TRAINING",
				"",
				"Active: ",
				"Activate the skill via"
			),
			new BookPageInfo
			(
				"macro or skill button",
				"and target a creature",
				"other than yourself.",
				"Passive:",
				"Each time you hit a",
				"creature with a weapon",
				"or fists you have a",
				"chance to gain Anatomy."
			),
			new BookPageInfo
			(
				"This is the preferred",
				"method of training the",
				"skill, requiring less",
				"effort and time. You",
				"can also gain anatomy",
				"passively when using",
				"the Healing skill.",
				"New Haven -"
			),
			new BookPageInfo
			(
				"You can gain from 0-50",
				"faster if you do the",
				"New Player Quests you",
				"will also receive the",
				"Tunic of Guarding.",
				"",
				"HAVEN NEW PLAYER QUEST:",
				"  Andreas Vesalius The"
			),
			new BookPageInfo
			(
				"Anatomy Instructor",
				"  Title: Knowing Thine",
				"Enemy",
				"  Objective: train",
				"Anatomy to 50",
				"  Reward: Tunic of",
				"Guarding",
				"  Accelerated"
			),
			new BookPageInfo
			(
				"skillgain: old haven",
				"",
				"",
				"FIGURING OUT OTHERS",
				"STATS WITH ANATOMY?",
				"",
				"Anatomy Skill Response",
				"to DEX/STR Conversion"
			),
			new BookPageInfo
			(
				"",
				"Skill Response (DEX)	",
				"0-9   'like they barely",
				"manage to stay",
				"standing.'	",
				"10-19 'Very clumsy.'	",
				"20-29 'Somewhat",
				"uncoordinated.'"
			),
			new BookPageInfo
			(
				"30-39 'Moderately",
				"dextrous.'",
				"40-49 'Somewhat agile.'",
				"50-59 'Very agile.'",
				"60-69 'Extremely",
				"agile.'",
				"70-79 'Extraordinarily",
				"agile.'"
			),
			new BookPageInfo
			(
				"80-89 'Moves like",
				"quicksilver.'",
				"90-99 'One of the",
				"fastest people you have",
				"ever seen.'",
				"100+  'Superhumanly",
				"agile.'",
				""
			),
			new BookPageInfo
			(
				"Skill Response (STR)	",
				"0-9   'like they would",
				"have trouble lifting",
				"small objects.'",
				"10-19 'Rather Feeble.'",
				"20-29 'Somewhat weak.'	",
				"30-39 'To be of normal",
				"strength.'"
			),
			new BookPageInfo
			(
				"40-49 'Somewhat",
				"strong.'",
				"50-59 'Very strong.'",
				"60-69 'Extremely",
				"strong.'",
				"70-79 'Extraordinarily",
				"strong.'",
				"80-89 'Strong as an"
			),
			new BookPageInfo
			(
				"ox.'",
				"90-99 'One of the",
				"strongest people you",
				"have ever seen.'",
				"100+  'Superhumanly",
				"strong.'",
				"",
				"DAMAGE INCREASE"
			),
			new BookPageInfo
			(
				"  Damage Increase is",
				"added to your Damage",
				"Calculations.",
				"  The Damage Bonus % =",
				"anatomy / 2 (+ 5% if",
				"anatomy at 100.0 or",
				"higher)",
				""
			),
			new BookPageInfo
			(
				"Anatomy Skill/Damage",
				"Bonus",
				"10	5 %",
				"20	10 %",
				"30	15 %",
				"40	20 %",
				"50	25 %",
				"60	30 %"
			),
			new BookPageInfo
			(
				"70	35 %",
				"80	40 %",
				"90	45 %",
				"100	55 %",
				"110	60 %",
				"120	65 %",
				"",
				"HEALING"
			),
			new BookPageInfo
			(
				" Anatomy adds to the",
				"amount you can heal.",
				" The Healing Bonus % =",
				"anatomy / 6",
				" To Cure poisonings",
				"with Bandages you need",
				"60 anatomy, and to",
				"Resurrect you need 80."
			)
		);

		public override BookContent DefaultContent{ get{ return Content; } }

		[Constructable]
		public CBookAnatomy101() : base( 0xFF1, false )
		{
			Hue = 287;
		}

		public CBookAnatomy101( Serial serial ) : base( serial )
		{
		}

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );
			writer.WriteEncodedInt( (int)0 );
		}

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );
			int version = reader.ReadEncodedInt();
		}
	}
}